package ModelLayer;


/**
 * A collections of attributes to describe a person
 * 
 * @author (Erni Kristensen) 
 * @version (17-04-2013)
 */
public class Person
{
    //
    private long id;
    private String name;
    private String address;
    private String postalCode;
    private String city;
    private String phone;
    
    public Person(long id, String name, String address, String postalCode, String city, String phone)
    {
        this.id = id;
        this.name = name;
        this.address = address;
        this.postalCode = postalCode;
        this.city = city;
        this.phone = phone;
    }
        
    public long getID()
    {
        return id;
    }
    
    public String getName()
    {
        return name;
    }
    
    public String getAddress()
    {
        return address;
    }
    
    public String getPostalCode()
    {
        return postalCode;
    }
    
    public String getCity()
    {
        return city;
    }
    
    public String getPhone()
    {
        return phone;
    }
    
    public void setID(long id)
    {
        this.id = id;
    }
    
    public void setName(String name)
    {
        this.name = name;
    }
    
    public void setAddress(String address)
    {
        this.address = address;
    }
    
    public void setPostalCode(String postalCode)
    {
        this.postalCode = postalCode;
    }
    
    public void setCity(String city)
    {
        this.city = city;
    }
    
    public void setPhone(String phone)
    {
        this.phone = phone;
    }
}
